package com.tabuleiro.web.services;

import com.tabuleiro.dominio.UsuarioBasico;
import com.tabuleiro.web.security.AuthenticationException;

/**
 * Basic security interface
 * 
 * @author Pablo
 */
public interface Authenticator {
    
    UsuarioBasico getUsuarioLogado();

    boolean isLogado();

    void login(String login, String password) throws AuthenticationException;

    void logout();
}
